package net.esj.basic.expression.condition.compare;

import net.esj.basic.expression.ExpressionException;

public class EqCondition extends CompareCondition {

	public EqCondition(Number value) {
		super(value);
	}

	@Override
	public boolean passed(Number num) throws ExpressionException {
		return num.doubleValue() == value.doubleValue();
	}

}
